package com.open.capacity.workflow3.dao;

import com.open.capacity.workflow3.entity.NwfTaskMsg;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;
/**
 * 
 * 
 * @author 
 * @email 
 * @date 2023-11-02 21:21:15
 */
@Mapper
public interface NwfTaskMsgDao  {

    int save(NwfTaskMsg nwfTaskMsg);

    int update(NwfTaskMsg nwfTaskMsg);

    int delete(String id);

    int deleteByTaskId(String taskId);

    NwfTaskMsg findById(String id);

    List<NwfTaskMsg> findAll(Map<String, Object> params);

}
